.goods {
    border-top: 1px solid #eee;
    margin-top: 10px;

    img {
        width: 100%;
    }

    .p1 {
        color: red;
        font-size: 14px;
        padding: 0 10px;
        background-color: rgb(251, 228, 232);

        span {
            font-weight: bold;
            font-size: 22px;
        }
    }

    .goodname {
        p {
            background-color: #fff;
            color: #000;
            padding: 6px 12px;
            font-weight: 600;
            font-size: 17px;
        }

    }
}

.goodtab {
    width: 375px;
    position: fixed;
    bottom: 0;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    padding: 8px 10px 6px;
    box-sizing: border-box;

    .fav {
        color: red;
    }

    div {
        width: 15%;
        text-align: center;

        span {
            font-size: 20px;
        }

        p {
            margin: 0;
            font-size: 12px;
        }
    }

    .buy {
        flex: 6;
        padding-top: 3px;

        span:nth-child(1) {
            width: 94px;
            height: 36px;
            display: inline-block;
            background-color: orange;
            color: #fff;
            text-align: center;
            line-height: 36px;
            font-size: 13px;
            border-radius: 20px 0 0 20px;
            padding: 0px 10px;
        }

        span:nth-child(2) {
            width: 94px;
            height: 36px;
            display: inline-block;
            background-color: red;
            border-radius: 0 20px 20px 0;
            color: #fff;
            text-align: center;
            line-height: 36px;
            font-size: 13px;
            padding: 0px 10px;
        }
    }
}